home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 01 - 1984 & 1985 / 01.09 Aug 85.sit / 01.09 Aug 85 / Modula 2 Vol. 1 #9 / Animate.MOD < prev    next >
MacBinary  |  1985-06-03  |  4.0 KB  |  [TEXT/EDIT]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert SoundTracker Module (music/soundTracker) ext Supported
66% dexvert Chip Tracker Module (music/chipTracker) ext Supported
66% dexvert Protracker Module (music/mod) ext Supported
66% dexvert Octalyser Module (music/octalyser) ext Supported
66% dexvert Star Tracker/StarTrekker Module (music/starTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PollyTracker Module (music/pollyTracker) ext Unsupported
1% dexvert Black Viper packed music (music/blackViperPackedMusic) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Jun 3 08:35:47 1985, modified Mon Jun 3 08:35:47 1985, creator Macintosh Edit, type ASCII, 3380 bytes "Animate.MOD" , at 0xdb4 490 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[EDIT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 41 6e 69 6d 61 74 | 65 2e 4d 4f 44 00 00 00 |..Animat|e.MOD...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 45 44 49 | 54 01 00 00 00 00 00 00 |.TEXTEDI|T.......|
|00000050| 00 00 00 00 00 0d 34 00 | 00 01 ea 99 27 61 a3 99 |......4.|....'a..|
|00000060| 27 61 a3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |'a......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 19 69 00 00 |........|.....i..|
|00000080| 4d 4f 44 55 4c 45 20 41 | 6e 69 6d 61 74 65 3b 0d |MODULE A|nimate;.|
|00000090| 0d 20 20 46 52 4f 4d 20 | 51 75 69 63 6b 44 72 61 |. FROM |QuickDra|
|000000a0| 77 31 20 49 4d 50 4f 52 | 54 0d 20 20 20 20 20 20 |w1 IMPOR|T. |
|000000b0| 20 20 20 20 51 44 50 74 | 72 2c 20 53 74 75 66 66 | QDPt|r, Stuff|
|000000c0| 48 65 78 2c 20 48 69 64 | 65 43 75 72 73 6f 72 2c |Hex, Hid|eCursor,|
|000000d0| 0d 20 20 20 20 20 20 20 | 20 20 20 42 69 74 4d 61 |. | BitMa|
|000000e0| 70 2c 20 52 65 63 74 2c | 20 53 65 74 52 65 63 74 |p, Rect,| SetRect|
|000000f0| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 73 72 63 4f |,. | srcO|
|00000100| 72 2c 20 73 72 63 42 69 | 63 2c 20 4f 66 66 73 65 |r, srcBi|c, Offse|
|00000110| 74 52 65 63 74 2c 0d 20 | 20 20 20 20 20 20 20 20 |tRect,. | |
|00000120| 20 52 61 6e 64 6f 6d 3b | 0d 0d 20 20 46 52 4f 4d | Random;|.. FROM|
|00000130| 20 51 75 69 63 6b 44 72 | 61 77 32 20 49 4d 50 4f | QuickDr|aw2 IMPO|
|00000140| 52 54 0d 20 20 20 20 20 | 20 20 20 20 20 43 6f 70 |RT. | Cop|
|00000150| 79 42 69 74 73 3b 0d 09 | 20 20 0d 20 20 46 52 4f |yBits;..| . FRO|
|00000160| 4d 20 4d 61 63 53 79 73 | 74 65 6d 54 79 70 65 73 |M MacSys|temTypes|
|00000170| 20 49 4d 50 4f 52 54 0d | 20 20 20 20 20 20 20 20 | IMPORT.| |
|00000180| 20 20 53 74 72 32 35 35 | 3b 0d 09 20 20 0d 20 20 | Str255|;.. . |
|00000190| 46 52 4f 4d 20 53 74 72 | 69 6e 67 73 20 49 4d 50 |FROM Str|ings IMP|
|000001a0| 4f 52 54 0d 20 20 20 20 | 20 20 20 20 20 20 53 74 |ORT. | St|
|000001b0| 72 4d 6f 64 54 6f 4d 61 | 63 3b 0d 0d 20 20 46 52 |rModToMa|c;.. FR|
|000001c0| 4f 4d 20 53 59 53 54 45 | 4d 20 49 4d 50 4f 52 54 |OM SYSTE|M IMPORT|
|000001d0| 0d 20 20 20 20 20 20 20 | 20 20 20 41 44 52 2c 20 |. | ADR, |
|000001e0| 57 4f 52 44 3b 0d 0d 20 | 20 46 52 4f 4d 20 4d 61 |WORD;.. | FROM Ma|
|000001f0| 63 49 6e 74 65 72 66 61 | 63 65 20 49 4d 50 4f 52 |cInterfa|ce IMPOR|
|00000200| 54 0d 20 20 20 20 20 20 | 20 20 20 20 74 68 65 50 |T. | theP|
|00000210| 6f 72 74 2c 20 57 72 69 | 74 65 3b 0d 0d 20 20 46 |ort, Wri|te;.. F|
|00000220| 52 4f 4d 20 45 76 65 6e | 74 4d 61 6e 61 67 65 72 |ROM Even|tManager|
|00000230| 20 49 4d 50 4f 52 54 0d | 20 20 20 20 20 20 20 20 | IMPORT.| |
|00000240| 20 20 42 75 74 74 6f 6e | 3b 0d 0d 20 20 46 52 4f | Button|;.. FRO|
|00000250| 4d 20 53 63 72 65 65 6e | 53 77 69 74 63 68 65 72 |M Screen|Switcher|
|00000260| 20 49 4d 50 4f 52 54 0d | 20 20 20 20 20 20 20 20 | IMPORT.| |
|00000270| 20 20 4c 61 75 6e 63 68 | 57 69 74 68 54 77 6f 53 | Launch|WithTwoS|
|00000280| 63 72 65 65 6e 73 2c 0d | 20 20 20 20 20 20 20 20 |creens,.| |
|00000290| 20 20 43 6f 70 79 53 63 | 72 65 65 6e 73 2c 20 53 | CopySc|reens, S|
|000002a0| 77 69 74 63 68 53 63 72 | 65 65 6e 73 2c 0d 20 20 |witchScr|eens,. |
|000002b0| 20 20 20 20 20 20 20 20 | 53 65 74 4d 61 69 6e 53 | |SetMainS|
|000002c0| 63 72 65 65 6e 3b 0d 0d | 20 20 56 41 52 0d 20 20 |creen;..| VAR. |
|000002d0| 20 20 69 63 6f 6e 20 3a | 20 41 52 52 41 59 20 5b | icon :| ARRAY [|
|000002e0| 30 2e 2e 39 35 5d 20 4f | 46 20 57 4f 52 44 3b 0d |0..95] O|F WORD;.|
|000002f0| 20 20 20 20 20 20 20 28 | 2a 20 53 74 6f 72 61 67 | (|* Storag|
|00000300| 65 20 74 6f 20 68 6f 6c | 64 20 69 63 6f 6e 20 64 |e to hol|d icon d|
|00000310| 61 74 61 20 2a 29 0d 20 | 20 20 20 78 2c 20 79 20 |ata *). | x, y |
|00000320| 3a 20 41 52 52 41 59 20 | 5b 30 2e 2e 31 5d 20 4f |: ARRAY |[0..1] O|
|00000330| 46 20 49 4e 54 45 47 45 | 52 3b 0d 20 20 20 20 20 |F INTEGE|R;. |
|00000340| 20 20 28 2a 20 63 6f 6f | 72 64 69 6e 61 74 65 73 | (* coo|rdinates|
|00000350| 20 6f 66 20 69 63 6f 6e | 20 66 6f 72 20 65 61 63 | of icon| for eac|
|00000360| 68 0d 20 20 20 20 20 20 | 20 20 20 20 20 73 63 72 |h. | scr|
|00000370| 65 65 6e 20 2a 29 0d 20 | 20 20 20 73 63 72 65 65 |een *). | scree|
|00000380| 6e 20 3a 20 5b 30 2e 2e | 31 5d 3b 0d 20 20 20 20 |n : [0..|1];. |
|00000390| 20 20 20 28 2a 20 63 75 | 72 72 65 6e 74 20 73 63 | (* cu|rrent sc|
|000003a0| 72 65 65 6e 20 72 65 6d | 69 6e 64 65 72 20 2a 29 |reen rem|inder *)|
|000003b0| 0d 20 20 20 20 78 44 69 | 72 2c 20 79 44 69 72 20 |. xDi|r, yDir |
|000003c0| 3a 20 49 4e 54 45 47 45 | 52 3b 0d 20 20 20 20 20 |: INTEGE|R;. |
|000003d0| 20 20 28 2a 20 6f 66 66 | 73 65 74 20 66 6f 72 20 | (* off|set for |
|000003e0| 65 61 63 68 20 69 63 6f | 6e 20 6d 6f 76 65 20 2a |each ico|n move *|
|000003f0| 29 0d 20 0d 20 20 50 52 | 4f 43 45 44 55 52 45 20 |). . PR|OCEDURE |
|00000400| 49 6e 69 74 49 63 6f 6e | 3b 0d 0d 20 20 20 20 50 |InitIcon|;.. P|
|00000410| 52 4f 43 45 44 55 52 45 | 20 4d 79 53 74 75 66 66 |ROCEDURE| MyStuff|
|00000420| 48 65 78 28 70 74 72 3a | 20 51 44 50 74 72 3b 0d |Hex(ptr:| QDPtr;.|
|00000430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000440| 20 20 20 20 20 20 20 20 | 20 73 20 3a 20 41 52 52 | | s : ARR|
|00000450| 41 59 20 4f 46 20 43 48 | 41 52 29 3b 0d 20 20 20 |AY OF CH|AR);. |
|00000460| 20 28 2a 20 54 68 69 73 | 20 70 72 6f 63 65 64 75 | (* This| procedu|
|00000470| 72 65 20 69 73 6f 6c 61 | 74 65 73 20 74 68 65 20 |re isola|tes the |
|00000480| 62 6f 64 79 20 6f 66 0d | 20 20 20 20 20 20 20 49 |body of.| I|
|00000490| 6e 69 74 49 63 6f 6e 20 | 66 72 6f 6d 20 68 61 76 |nitIcon |from hav|
|000004a0| 69 6e 67 20 74 6f 20 63 | 6f 6e 76 65 72 74 0d 20 |ing to c|onvert. |
|000004b0| 20 20 20 20 20 20 74 68 | 65 20 4d 6f 64 75 6c 61 | th|e Modula|
|000004c0| 2d 73 74 79 6c 65 20 68 | 65 78 20 73 74 72 69 6e |-style h|ex strin|
|000004d0| 67 73 20 74 6f 0d 20 20 | 20 20 20 20 20 50 61 73 |gs to. | Pas|
|000004e0| 63 61 6c 20 66 6f 72 6d | 61 74 20 2a 29 0d 20 20 |cal form|at *). |
|000004f0| 20 20 20 20 56 41 52 0d | 09 6d 61 63 53 74 72 20 | VAR.|.macStr |
|00000500| 3a 20 53 74 72 32 35 35 | 3b 0d 20 20 20 20 42 45 |: Str255|;. BE|
|00000510| 47 49 4e 0d 20 20 20 20 | 20 20 53 74 72 4d 6f 64 |GIN. | StrMod|
|00000520| 54 6f 4d 61 63 28 6d 61 | 63 53 74 72 2c 73 29 3b |ToMac(ma|cStr,s);|
|00000530| 0d 20 20 20 20 20 20 53 | 74 75 66 66 48 65 78 28 |. S|tuffHex(|
|00000540| 70 74 72 2c 6d 61 63 53 | 74 72 29 3b 0d 20 20 20 |ptr,macS|tr);. |
|00000550| 20 45 4e 44 20 4d 79 53 | 74 75 66 66 48 65 78 3b | END MyS|tuffHex;|
|00000560| 0d 0d 20 20 42 45 47 49 | 4e 0d 20 20 20 20 28 2a |.. BEGI|N. (*|
|00000570| 20 50 69 63 74 75 72 65 | 20 6f 66 20 61 20 4c 69 | Picture| of a Li|
|00000580| 73 61 20 68 6f 69 73 74 | 65 64 20 66 72 6f 6d 0d |sa hoist|ed from.|
|00000590| 20 20 20 20 20 20 20 20 | 41 70 70 6c 65 27 73 20 | |Apple's |
|000005a0| 51 44 53 61 6d 70 6c 65 | 20 70 72 6f 67 72 61 6d |QDSample| program|
|000005b0| 20 2a 29 0d 20 20 20 20 | 4d 79 53 74 75 66 66 48 | *). |MyStuffH|
|000005c0| 65 78 28 41 44 52 28 69 | 63 6f 6e 5b 20 30 5d 29 |ex(ADR(i|con[ 0])|
|000005d0| 2c 0d 27 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |,.'00000|00000000|
|000005e0| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |00000000|00000000|
|000005f0| 30 30 30 30 30 30 30 30 | 30 31 46 46 46 46 46 46 |00000000|01FFFFFF|
|00000600| 46 46 43 27 29 3b 0d 20 | 20 20 20 4d 79 53 74 75 |FFC');. | MyStu|
|00000610| 66 66 48 65 78 28 41 44 | 52 28 69 63 6f 6e 5b 31 |ffHex(AD|R(icon[1|
|00000620| 32 5d 29 2c 0d 27 30 30 | 36 30 30 30 30 30 30 30 |2]),.'00|60000000|
|00000630| 30 36 30 31 38 30 30 30 | 30 30 30 30 30 42 30 36 |06018000|00000B06|
|00000640| 30 30 30 30 30 30 30 30 | 31 33 30 46 46 46 46 46 |00000000|130FFFFF|
|00000650| 46 46 46 46 41 33 27 29 | 3b 0d 20 20 4d 79 53 74 |FFFFA3')|;. MySt|
|00000660| 75 66 66 48 65 78 28 41 | 44 52 28 69 63 6f 6e 5b |uffHex(A|DR(icon[|
|00000670| 32 34 5d 29 2c 0d 27 31 | 38 30 30 30 30 30 30 30 |24]),.'1|80000000|
|00000680| 30 34 33 31 31 46 46 46 | 46 46 30 30 30 32 33 31 |04311FFF|FF000231|
|00000690| 32 30 30 30 30 30 38 30 | 46 32 33 31 32 30 30 30 |20000080|F2312000|
|000006a0| 30 30 42 46 39 32 33 27 | 29 3b 0d 20 20 20 20 4d |00BF923'|);. M|
|000006b0| 79 53 74 75 66 66 48 65 | 78 28 41 44 52 28 69 63 |yStuffHe|x(ADR(ic|
|000006c0| 6f 6e 5b 33 36 5d 29 2c | 0d 27 31 32 30 30 30 30 |on[36]),|.'120000|
|000006d0| 30 38 30 46 32 33 31 32 | 30 30 30 30 30 38 30 30 |080F2312|00000800|
|000006e0| 32 33 31 32 30 30 30 30 | 30 38 30 30 32 33 31 32 |23120000|08002312|
|000006f0| 30 30 30 30 30 38 30 46 | 32 33 27 29 3b 0d 20 20 |0000080F|23');. |
|00000700| 20 20 4d 79 53 74 75 66 | 66 48 65 78 28 41 44 52 | MyStuf|fHex(ADR|
|00000710| 28 69 63 6f 6e 5b 34 38 | 5d 29 2c 0d 27 31 32 30 |(icon[48|]),.'120|
|00000720| 30 30 30 30 42 46 39 32 | 33 31 32 30 30 30 30 30 |0000BF92|31200000|
|00000730| 38 30 46 32 33 31 32 30 | 30 30 30 30 38 30 30 32 |80F23120|00008002|
|00000740| 33 31 31 46 46 46 46 46 | 30 30 30 32 33 27 29 3b |311FFFFF|00023');|
|00000750| 0d 20 20 20 20 4d 79 53 | 74 75 66 66 48 65 78 28 |. MyS|tuffHex(|
|00000760| 41 44 52 28 69 63 6f 6e | 5b 36 30 5d 29 2c 0d 27 |ADR(icon|[60]),.'|
|00000770| 30 38 30 30 30 30 30 30 | 30 30 34 33 30 37 46 46 |08000000|004307FF|
|00000780| 46 46 46 46 46 46 41 33 | 30 31 30 30 30 30 30 30 |FFFFFFA3|01000000|
|00000790| 30 30 32 36 30 46 46 46 | 46 46 46 46 46 45 32 43 |00260FFF|FFFFFE2C|
|000007a0| 27 29 3b 0d 20 20 20 20 | 4d 79 53 74 75 66 66 48 |');. |MyStuffH|
|000007b0| 65 78 28 41 44 52 28 69 | 63 6f 6e 5b 37 32 5d 29 |ex(ADR(i|con[72])|
|000007c0| 2c 0d 27 31 38 30 30 30 | 30 30 30 30 31 33 38 33 |,.'18000|00001383|
|000007d0| 32 41 41 41 41 41 38 41 | 39 46 30 36 35 35 35 35 |2AAAAA8A|9F065555|
|000007e0| 35 35 31 35 33 38 30 43 | 32 41 41 41 41 38 32 41 |5515380C|2AAAA82A|
|000007f0| 35 38 30 27 29 3b 0d 20 | 20 20 20 4d 79 53 74 75 |580');. | MyStu|
|00000800| 66 66 48 65 78 28 41 44 | 52 28 69 63 6f 6e 5b 38 |ffHex(AD|R(icon[8|
|00000810| 34 5d 29 2c 0d 27 38 30 | 30 30 30 30 30 30 30 39 |4]),.'80|00000009|
|00000820| 38 30 46 46 46 46 46 46 | 46 46 46 33 30 30 38 30 |80FFFFFF|FFF30080|
|00000830| 30 30 30 30 30 30 31 36 | 30 30 46 46 46 46 46 46 |00000016|00FFFFFF|
|00000840| 46 46 46 43 30 30 27 29 | 3b 0d 20 20 45 4e 44 20 |FFFC00')|;. END |
|00000850| 49 6e 69 74 49 63 6f 6e | 3b 0d 0d 20 20 50 52 4f |InitIcon|;.. PRO|
|00000860| 43 45 44 55 52 45 20 44 | 72 61 77 49 63 6f 6e 28 |CEDURE D|rawIcon(|
|00000870| 68 2c 76 3a 20 49 4e 54 | 45 47 45 52 3b 0d 20 20 |h,v: INT|EGER;. |
|00000880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008a0| 20 6d 6f 64 65 20 3a 20 | 49 4e 54 45 47 45 52 29 | mode : |INTEGER)|
|000008b0| 3b 0d 20 20 20 20 56 41 | 52 0d 20 20 20 20 20 20 |;. VA|R. |
|000008c0| 73 72 63 42 69 74 73 20 | 3a 20 42 69 74 4d 61 70 |srcBits |: BitMap|
|000008d0| 3b 0d 20 20 20 20 20 20 | 73 72 63 52 65 63 74 2c |;. |srcRect,|
|000008e0| 20 64 73 74 52 65 63 74 | 20 3a 20 52 65 63 74 3b | dstRect| : Rect;|
|000008f0| 0d 20 20 42 45 47 49 4e | 0d 20 20 20 20 73 72 63 |. BEGIN|. src|
|00000900| 42 69 74 73 2e 62 61 73 | 65 41 64 64 72 20 3a 3d |Bits.bas|eAddr :=|
|00000910| 20 41 44 52 28 69 63 6f | 6e 29 3b 0d 20 20 20 20 | ADR(ico|n);. |
|00000920| 73 72 63 42 69 74 73 2e | 72 6f 77 42 79 74 65 73 |srcBits.|rowBytes|
|00000930| 20 3a 3d 20 36 3b 0d 20 | 20 20 20 53 65 74 52 65 | := 6;. | SetRe|
|00000940| 63 74 28 73 72 63 42 69 | 74 73 2e 62 6f 75 6e 64 |ct(srcBi|ts.bound|
|00000950| 73 2c 30 2c 30 2c 34 38 | 2c 33 32 29 3b 0d 20 20 |s,0,0,48|,32);. |
|00000960| 20 20 73 72 63 52 65 63 | 74 20 3a 3d 20 73 72 63 | srcRec|t := src|
|00000970| 42 69 74 73 2e 62 6f 75 | 6e 64 73 3b 0d 20 20 20 |Bits.bou|nds;. |
|00000980| 20 64 73 74 52 65 63 74 | 20 3a 3d 20 73 72 63 52 | dstRect| := srcR|
|00000990| 65 63 74 3b 0d 20 20 20 | 20 4f 66 66 73 65 74 52 |ect;. | OffsetR|
|000009a0| 65 63 74 28 64 73 74 52 | 65 63 74 2c 68 2c 76 29 |ect(dstR|ect,h,v)|
|000009b0| 3b 0d 20 20 20 20 43 6f | 70 79 42 69 74 73 28 73 |;. Co|pyBits(s|
|000009c0| 72 63 42 69 74 73 2c 74 | 68 65 50 6f 72 74 5e 2e |rcBits,t|hePort^.|
|000009d0| 70 6f 72 74 42 69 74 73 | 2c 0d 20 20 20 20 20 20 |portBits|,. |
|000009e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 72 63 52 | | srcR|
|000009f0| 65 63 74 2c 64 73 74 52 | 65 63 74 2c 6d 6f 64 65 |ect,dstR|ect,mode|
|00000a00| 2c 4e 49 4c 29 3b 0d 20 | 20 45 4e 44 20 44 72 61 |,NIL);. | END Dra|
|00000a10| 77 49 63 6f 6e 3b 0d 0d | 20 20 50 52 4f 43 45 44 |wIcon;..| PROCED|
|00000a20| 55 52 45 20 4d 6f 76 65 | 49 63 6f 6e 3b 0d 20 20 |URE Move|Icon;. |
|00000a30| 42 45 47 49 4e 0d 20 20 | 20 20 28 2a 20 45 72 61 |BEGIN. | (* Era|
|00000a40| 73 65 20 74 68 65 20 6f | 6c 64 20 69 63 6f 6e 20 |se the o|ld icon |
|00000a50| 2a 29 0d 20 20 20 20 44 | 72 61 77 49 63 6f 6e 20 |*). D|rawIcon |
|00000a60| 28 78 5b 73 63 72 65 65 | 6e 5d 2c 79 5b 73 63 72 |(x[scree|n],y[scr|
|00000a70| 65 65 6e 5d 2c 0d 20 20 | 20 20 20 20 20 20 20 20 |een],. | |
|00000a80| 20 20 20 20 20 20 20 20 | 20 20 73 72 63 42 69 63 | | srcBic|
|00000a90| 29 3b 0d 20 20 20 20 28 | 2a 20 43 61 6c 63 75 6c |);. (|* Calcul|
|00000aa0| 61 74 65 20 6e 65 77 20 | 70 6f 73 69 74 69 6f 6e |ate new |position|
|00000ab0| 20 2a 29 0d 20 20 20 20 | 78 5b 73 63 72 65 65 6e | *). |x[screen|
|00000ac0| 5d 20 3a 3d 20 78 5b 31 | 2d 73 63 72 65 65 6e 5d |] := x[1|-screen]|
|00000ad0| 20 2b 20 78 44 69 72 3b | 0d 20 20 20 20 28 2a 20 | + xDir;|. (* |
|00000ae0| 44 6f 6e 27 74 20 6c 65 | 74 20 69 63 6f 6e 20 67 |Don't le|t icon g|
|00000af0| 6f 20 6f 66 66 20 73 63 | 72 65 65 6e 20 2a 29 0d |o off sc|reen *).|
|00000b00| 20 20 20 20 49 46 20 28 | 78 5b 73 63 72 65 65 6e | IF (|x[screen|
|00000b10| 5d 20 3c 20 30 29 20 4f | 52 20 28 78 5b 73 63 72 |] < 0) O|R (x[scr|
|00000b20| 65 65 6e 5d 20 3e 20 34 | 36 30 29 20 0d 20 20 20 |een] > 4|60) . |
|00000b30| 20 54 48 45 4e 0d 20 20 | 20 20 20 20 78 44 69 72 | THEN. | xDir|
|00000b40| 20 3a 3d 20 2d 78 44 69 | 72 3b 0d 20 20 20 20 45 | := -xDi|r;. E|
|00000b50| 4e 44 3b 0d 20 20 20 20 | 79 5b 73 63 72 65 65 6e |ND;. |y[screen|
|00000b60| 5d 20 3a 3d 20 79 5b 31 | 2d 73 63 72 65 65 6e 5d |] := y[1|-screen]|
|00000b70| 20 2b 20 79 44 69 72 3b | 0d 20 20 20 20 49 46 20 | + yDir;|. IF |
|00000b80| 28 79 5b 73 63 72 65 65 | 6e 5d 20 3c 20 30 29 20 |(y[scree|n] < 0) |
|00000b90| 4f 52 20 28 79 5b 73 63 | 72 65 65 6e 5d 20 3e 20 |OR (y[sc|reen] > |
|00000ba0| 33 31 30 29 20 0d 20 20 | 20 20 54 48 45 4e 0d 20 |310) . | THEN. |
|00000bb0| 20 20 20 20 20 79 44 69 | 72 20 3a 3d 20 2d 79 44 | yDi|r := -yD|
|00000bc0| 69 72 3b 0d 20 20 20 20 | 45 4e 44 3b 0d 20 20 20 |ir;. |END;. |
|00000bd0| 20 28 2a 20 44 72 61 77 | 20 74 68 65 20 69 63 6f | (* Draw| the ico|
|00000be0| 6e 20 2a 29 0d 20 20 20 | 20 44 72 61 77 49 63 6f |n *). | DrawIco|
|00000bf0| 6e 28 78 5b 73 63 72 65 | 65 6e 5d 2c 79 5b 73 63 |n(x[scre|en],y[sc|
|00000c00| 72 65 65 6e 5d 2c 73 72 | 63 4f 72 29 3b 0d 20 20 |reen],sr|cOr);. |
|00000c10| 20 20 28 2a 20 53 77 61 | 70 20 6f 75 72 20 73 63 | (* Swa|p our sc|
|00000c20| 72 65 65 6e 20 72 65 6d | 69 6e 64 65 72 20 2a 29 |reen rem|inder *)|
|00000c30| 0d 20 20 20 20 73 63 72 | 65 65 6e 20 3a 3d 20 31 |. scr|een := 1|
|00000c40| 20 2d 20 73 63 72 65 65 | 6e 3b 0d 20 20 45 4e 44 | - scree|n;. END|
|00000c50| 20 4d 6f 76 65 49 63 6f | 6e 3b 0d 20 20 0d 42 45 | MoveIco|n;. .BE|
|00000c60| 47 49 4e 0d 20 20 28 2a | 20 52 65 2d 6c 61 75 6e |GIN. (*| Re-laun|
|00000c70| 63 68 20 6f 75 72 73 65 | 6c 66 20 77 69 74 68 20 |ch ourse|lf with |
|00000c80| 61 6c 74 2e 20 73 63 72 | 65 65 6e 20 2a 29 0d 20 |alt. scr|een *). |
|00000c90| 20 4c 61 75 6e 63 68 57 | 69 74 68 54 77 6f 53 63 | LaunchW|ithTwoSc|
|00000ca0| 72 65 65 6e 73 3b 0d 20 | 20 49 6e 69 74 49 63 6f |reens;. | InitIco|
|00000cb0| 6e 3b 0d 20 20 48 69 64 | 65 43 75 72 73 6f 72 3b |n;. Hid|eCursor;|
|00000cc0| 0d 20 20 57 72 69 74 65 | 28 31 34 63 29 3b 20 28 |. Write|(14c); (|
|00000cd0| 2a 20 43 6c 65 61 72 20 | 53 63 72 65 65 6e 20 2a |* Clear |Screen *|
|00000ce0| 29 0d 20 20 43 6f 70 79 | 53 63 72 65 65 6e 73 3b |). Copy|Screens;|
|00000cf0| 0d 20 20 73 63 72 65 65 | 6e 20 3a 3d 20 30 3b 0d |. scree|n := 0;.|
|00000d00| 20 20 78 5b 30 5d 20 3a | 3d 20 31 30 30 3b 0d 20 | x[0] :|= 100;. |
|00000d10| 20 79 5b 30 5d 20 3a 3d | 20 31 30 30 3b 0d 20 20 | y[0] :=| 100;. |
|00000d20| 78 5b 31 5d 20 3a 3d 20 | 31 30 30 3b 0d 20 20 79 |x[1] := |100;. y|
|00000d30| 5b 31 5d 20 3a 3d 20 31 | 30 30 3b 0d 20 20 78 44 |[1] := 1|00;. xD|
|00000d40| 69 72 20 3a 3d 20 31 3b | 0d 20 20 79 44 69 72 20 |ir := 1;|. yDir |
|00000d50| 3a 3d 20 31 3b 0d 20 20 | 57 48 49 4c 45 20 4e 4f |:= 1;. |WHILE NO|
|00000d60| 54 20 42 75 74 74 6f 6e | 28 29 20 44 4f 0d 20 20 |T Button|() DO. |
|00000d70| 20 20 4d 6f 76 65 49 63 | 6f 6e 3b 0d 20 20 20 20 | MoveIc|on;. |
|00000d80| 53 77 69 74 63 68 53 63 | 72 65 65 6e 73 3b 0d 20 |SwitchSc|reens;. |
|00000d90| 20 45 4e 44 3b 0d 20 20 | 53 65 74 4d 61 69 6e 53 | END;. |SetMainS|
|00000da0| 63 72 65 65 6e 3b 0d 45 | 4e 44 20 41 6e 69 6d 61 |creen;.E|ND Anima|
|00000db0| 74 65 2e 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |te......|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 d4 |........|........|
|00000e10| 4f 0e 00 0e 4f 13 00 14 | 4f 11 00 17 4f 07 00 01 |O...O...|O...O...|
|00000e20| 4f 00 00 02 4f 00 00 03 | 4f 00 00 04 4f 00 00 05 |O...O...|O...O...|
|00000e30| 0b 41 6e 69 6d 61 74 65 | 2e 4d 4f 44 02 00 00 00 |.Animate|.MOD....|
|00000e40| 54 45 58 54 45 44 49 54 | 01 00 00 02 00 b6 00 00 |TEXTEDIT|........|
|00000e50| 00 00 54 45 58 54 45 44 | 49 54 01 00 00 02 00 b6 |..TEXTED|IT......|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 99 26 36 b6 00 00 | 0d 34 00 00 01 ea 00 19 |...&6...|.4......|
|00000e80| 4f 00 00 1a 4f 07 00 1a | 4f 00 00 1b 4f 00 00 1c |O...O...|O...O...|
|00000e90| 4f 00 00 1d 4f 00 00 1e | 4f 00 00 1f 4f 00 00 20 |O...O...|O...O.. |
|00000ea0| 4f 00 00 21 4f 00 00 22 | 4f 00 00 23 4f 00 00 24 |O..!O.."|O..#O..$|
|00000eb0| 4f 00 00 25 4f 00 00 26 | 4f 00 00 27 4f 00 00 28 |O..%O..&|O..'O..(|
|00000ec0| 4f 00 00 29 4f 00 00 2a | 4f 00 00 2b 4f 00 00 2c |O..)O..*|O..+O..,|
|00000ed0| 43 07 00 01 df c2 4f 00 | 00 2d 4f 00 00 2e 4f 00 |C.....O.|.-O...O.|
|00000ee0| 00 2f 4f 00 00 30 2c 07 | 4f 00 00 31 2f 06 50 17 |./O..0,.|O..1/.P.|
|00000ef0| 00 01 dc 7c 0d 17 4f 00 | 00 32 52 14 00 00 dc 1e |...|..O.|.2R.....|
|00000f00| 00 00 00 0a 00 09 06 4d | 6f 6e 61 63 6f 65 00 00 |.......M|onacoe..|
|00000f10| 00 04 00 06 00 08 00 00 | 01 00 00 00 01 16 00 00 |........|........|
|00000f20| 00 16 00 00 00 d4 00 00 | cc 1c 00 7a 00 00 00 1c |........|...z....|
|00000f30| 00 46 00 01 45 46 4e 54 | 00 00 00 12 45 54 41 42 |.F..EFNT|....ETAB|
|00000f40| 00 00 00 1e 03 eb 00 00 | 00 00 00 00 00 01 a7 44 |........|.......D|
|00000f50| 03 ec 00 47 00 00 00 0e | 00 01 6a 28 46 4f 42 4a |...G....|..j(FOBJ|
|00000f60| ff ff ff ff 00 40 01 aa | 00 40 01 ac 00 40 01 ae |.....@..|.@...@..|
|00000f70| 00 40 01 b0 00 40 01 b2 | 00 40 01 b4 00 40 01 b6 |.@...@..|.@...@..|
|00000f80| 00 40 01 b8 00 40 10 18 | 00 40 01 bc 00 40 01 be |.@...@..|.@...@..|
|00000f90| 00 40 01 be 00 40 01 be | 00 40 01 be 00 40 01 be |.@...@..|.@...@..|
|00000fa0| 00 40 01 46 4f 42 4a ff | ff ff ff 00 40 01 aa 00 |.@.FOBJ.|....@...|
|00000fb0| 40 01 ac 00 40 01 ae 00 | 40 01 b0 00 40 01 b2 00 |@...@...|@...@...|
|00000fc0| 40 01 b4 00 40 01 b6 00 | 40 01 b8 00 40 10 18 00 |@...@...|@...@...|
|00000fd0| 40 01 bc 00 40 01 be 00 | 40 01 be 00 40 01 be 00 |@...@...|@...@...|
|00000fe0| 40 01 be 00 40 01 be 00 | 40 01 00 00 00 00 00 00 |@...@...|@.......|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+